middle frame positioning